Skip to content

Fix dead assignment in glfs_resolve_component (clang-check)#4657

Open
ThalesBarretto wants to merge 1 commit intogluster:develfrom
ThalesBarretto:thales_dead_glfs_resolve_component
Open

Fix dead assignment in glfs_resolve_component (clang-check)#4657
ThalesBarretto wants to merge 1 commit intogluster:develfrom
ThalesBarretto:thales_dead_glfs_resolve_component

Conversation

@ThalesBarretto
Copy link
Contributor

In the path were priv_glfs_loc_touchup(&loc) fails, we goto out
and the value we have just assigned, 'ret = -1' is actually never used
in this path again. This fixes it by just removing the dead code line.

	In the path were priv_glfs_loc_touchup(&loc) fails, we goto out
and the value we have just assigned, 'ret = -1' is actually never used
in this path again. This fixes it by just removing the dead code line.
@ThalesBarretto ThalesBarretto marked this pull request as ready for review February 20, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant